/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 发票到账表Entity
 * @author 李超辉
 * @version 2019-07-22
 */
public class WriteOff extends DataEntity<WriteOff> {
	
	private static final long serialVersionUID = 1L;
	private String pro;		// 项目
	private String type;		// 发票类别
	private Date date;		// 开票时间
	private String kpje;		// 开票金额
	private String dzje;		// 到账金额
	private String wdje;		// 未到账金额
	private String spf;		// 受票方
	private String fph;		// 发票号
	
	public WriteOff() {
		super();
	}

	public WriteOff(String id){
		super(id);
	}

	@ExcelField(title="项目", align=2, sort=6)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
	
	@ExcelField(title="发票类别", align=2, sort=7)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="开票时间", align=2, sort=8)
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@ExcelField(title="开票金额", align=2, sort=9)
	public String getKpje() {
		return kpje;
	}

	public void setKpje(String kpje) {
		this.kpje = kpje;
	}
	
	@ExcelField(title="到账金额", align=2, sort=10)
	public String getDzje() {
		return dzje;
	}

	public void setDzje(String dzje) {
		this.dzje = dzje;
	}
	
	@ExcelField(title="未到账金额", align=2, sort=11)
	public String getWdje() {
		return wdje;
	}

	public void setWdje(String wdje) {
		this.wdje = wdje;
	}
	
	@ExcelField(title="受票方", align=2, sort=12)
	public String getSpf() {
		return spf;
	}

	public void setSpf(String spf) {
		this.spf = spf;
	}
	
	@ExcelField(title="发票号", align=2, sort=13)
	public String getFph() {
		return fph;
	}

	public void setFph(String fph) {
		this.fph = fph;
	}
	
}